<template>
  <div></div>
</template>

<script>

export default {
  name: 'Index',
  data() {
    return {
    }
  },
  created() {
    let roles = this.$store.getters.roles
    if (roles.length === 1 && roles.indexOf('student') > -1) {
      this.$router.push('apply')
    } else {
      this.$router.push('/register/registerNeed')
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>

</style>
